package org.springframework.beanFactory.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @Author: T-jack
 * @Date: 2024-01-03-11:04
 * @Description:
 */
@Component
@Slf4j
public class UserRegisteredListener {
	@EventListener
	public void userRegist(UserRegisteredEvent event) {

		log.debug("监听对象{}", event);
	}
}
